package com.project.model;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * @author Sweey Zhang
 * @description
 * @date 2021/8/9 14:22
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
@XStreamAlias("Device")
public class DeviceInfo {
    @XStreamAsAttribute
    @XStreamAlias("id")
    private Integer id;
    @XStreamAsAttribute
    @XStreamAlias("type")
    private String type;
    @XStreamAsAttribute
    @XStreamAlias("name")
    private String name;
    @XStreamAsAttribute
    @XStreamAlias("port")
    private String port;
    @XStreamAsAttribute
    @XStreamAlias("ip")
    private String ip;
    @XStreamAsAttribute
    @XStreamAlias("user")
    private String user;
    @XStreamAsAttribute
    @XStreamAlias("password")
    private String password;
    @XStreamAsAttribute
    @XStreamAlias("devicePort")
    private String devicePort;
    @XStreamAsAttribute
    @XStreamAlias("deviceIp")
    private String deviceIp;
}
